﻿import lite.mobile.lib.components.skin.ISkin;

/**
 * @author alibber
 */
class lite.mobile.lib.components.skin.UButtonSkin implements ISkin {
	// 默认帧
	static public var DEFAULT:String = "default";
	// 焦点帧
	static public var FOCUS:String = "focus";
	// 禁用帧
	static public var INVALIDISM:String = "invalidism";
	
	private var _like:String = null;
	public function UButtonSkin(like:String) {
		_like = like;
	}
	
	// 激活创建
	public function achieveSkin(site:MovieClip, depth:Number):MovieClip {
		return site.attachMovie(_like, _like, depth);
	}
}